﻿using JetBrains.Annotations;
using JetBrains.ProjectModel;

namespace GammaJul.ReSharper.GammaXaml.Psi.Xaml {

	public static class CaliburnCacheExtensions {

		public static bool IsCaliburnMicroProject([CanBeNull] this IProject project) {
			return project != null && project.GetSolution().GetComponent<CaliburnCache>().IsCaliburnMicroProject(project);
		}

	}

}